package com.jhhc.FloodForecast.Sensor.ServiceImpl;

import com.jhhc.FloodForecast.Sensor.Pojo.*;
import com.jhhc.FloodForecast.Sensor.Dao.*;
import com.jhhc.FloodForecast.Sensor.Service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class BDMS_ST_SENSORALARM_BServiceImpl implements BDMS_ST_SENSORALARM_BService {
    @Autowired
    private BDMS_ST_SENSORALARM_BMapper bDMS_ST_SENSORALARM_BMapper;

    @Override
    public List<BDMS_ST_SENSORALARM_B> selectByStcd(List<String> stcd, String sendortp, int pid) {
        return bDMS_ST_SENSORALARM_BMapper.selectByStcd(stcd,sendortp,pid);
    }

    @Override
    public List<BDMS_ST_SENSORALARM_B> selectByStcd2(List<String> stcd) {
        return bDMS_ST_SENSORALARM_BMapper.selectByStcd2(stcd);
    }
}
